import request from '@/utils/request'

// 查询
export function finIntegralList(query) {
  return request({
    url: '/task/finIntegral/list',
    method: 'get',
    params: query
  })
}

// 查询
export function listItem(query) {
  return request({
    url: '/task/finIntegral/list-item',
    method: 'get',
    params: query
  })
}

// 核销积分
export function finIntegralwrite(data) {
  return request({
    url: '/task/finIntegral/write-off',
    method: 'post',
    data: data
  })
}

